package com.qingke.project_management.pojo;

public class User {
    
	public User(String name, String email, String phone, Organization organization, Integer organizationId,
			String password, String username) {
		super();
		this.name = name;
		this.email = email;
		this.phone = phone;
		this.organization = organization;
		this.organizationId = organizationId;
		this.password = password;
		this.username = username;
	}

	public User() {
		super();
	}

	private Integer id;
	private String name;
	private String email;
	private String phone;
	private Organization organization;
	private Integer organizationId;
	private String password;
	private String username;
 
	
	
	@Override
	public String toString() {
		return " [name=" + name + ", email=" + email + ", phone=" + phone + ", organization=" + organization + "]";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getOrganizationId() {
		return organizationId;
	}

	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

    public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

}